package pe.com.bbva.mantenimiento.bo;

import java.util.List;

import pe.com.bbva.mantenimiento.domain.TipoTarjeta;
import pe.com.stefanini.core.bo.Grid;
import pe.com.stefanini.core.exceptions.BOException;
import pe.com.stefanini.core.exceptions.DAOException;

public interface TipoTarjetaBO {
	public List<TipoTarjeta> findTipos(TipoTarjeta tipoTarjeta) throws BOException, DAOException;
	public TipoTarjeta findById(Long id) throws BOException, DAOException;
	public void save(TipoTarjeta tipoTarjeta, String codigoAnterior) throws BOException, DAOException;
	@SuppressWarnings("rawtypes")
	public void deleteLog(Class tipoTarjeta, Long id) throws BOException;
	public Grid<TipoTarjeta> findToGrid(TipoTarjeta tipoTarjeta, String order, int page, int rows) throws BOException, DAOException;
}